ProNovia Produkte Korrekturanleitung
Knowledge Base ID
Artikellink	11931
http://support.pronovia.ch/index.php?/Knowledgebase/Article/View/11931	
Produkt(e) / Korrektur in Version	CFM V6.4.1	
Ausgabe Korrekturanleitung	I / CG / 28.11.2018	
Farblegende Korrekturen	INSERT	REPLACE THIS	REPLACE WITH	DELETE	

Funktion	/PRONOVIA/PRM_REL_ROUT_UPDATE	

FUNCTION /pronovia/prm_rel_rout_update .

. . .

  LOOP AT lt_plkod INTO ls_plkod.
    CLEAR ls_rout_save_info. "falls nachfolgend nicht gefunden
    READ TABLE lt_rout_save_info INTO ls_rout_save_info
         WITH KEY plnty = ls_plkod-plnty
                  plnnr = ls_plkod-plnnr
                  plnal = ls_plkod-plnal.

    IF ls_plkod-plnnr IS INITIAL. "bei Anlage
      ls_plkod-plnnr = ps_plkod-plnnr. "in Anwendung nun gesetzte Nummer
    ENDIF.

    ls_ref_to_use  = ls_rout_save_info-ref_to_use.
>>>REPLACE THIS
    lv_input_aennr = ls_rout_save_info-input_aennr.
>>>REPLACE WITH
    IF ls_rout_save_info-input_aennr IS INITIAL. "CG/ID11931
      IMPORT input_aennr TO lv_input_aennr       "CG/ID11931
        FROM MEMORY ID '/PRONOVIA/RC271_AENNR'.
    ELSE. "CG/ID11931
      lv_input_aennr = ls_rout_save_info-input_aennr.
    ENDIF. "CG/ID11931
>>>END REPLACE
    lt_mapl_start  = ls_rout_save_info-mapl_start.

    "CG/ID8352/ "only Q and N types" -> jetzt unten

    "Daten von Schnittstelle übernehmen, Init
    MOVE-CORRESPONDING ls_plkod TO ls_rout_key.             "#EC ENHOK

. . .

Include	/PRONOVIA/LPRMRELAF05	
Form	HANDLE_ROUTING_STARTSCR	

FORM handle_routing_startscr  USING    ps_rc27s TYPE rc27s              "#EC NEEDED

. . .

  ENDLOOP.

  EXPORT rout_save_info FROM lt_rout_save_info
>>>START INSERT
         input_aennr FROM ps_rc271-aennr "CG/ID11931
>>>END INSERT
      TO MEMORY ID '/PRONOVIA/RC271_AENNR'.

ENDFORM.                    " HANDLE_ROUTING_STARTSCR

<ENDE>